package org.jash.mvp2206.video;

import org.jash.mvp2206.entity.AllVideo;

import java.util.List;

import io.reactivex.rxjava3.core.Observable;

public class Construct {
    public interface IVideoModel {
        Observable<AllVideo> getAllVideo();
    }
    public interface IVideoPresenter {
        void getAllVideo();
    }
    public interface IVideoView {
        void success(List<AllVideo.DataBean> bean);
        void failure(Throwable t);
    }
}
